
#include "stdafx.h"

#include "Game.h"
#include <Core/Game.h>
#include <Editor/GameEditor.h>

namespace CasaEngineWrapper
{

	Game::Game(IntPtr ptr_)
	{
		m_pGame = Game_New(ptr_.ToPointer());
	}

	Game::~Game()
	{
		Game_Delete(m_pGame);
	}

	void Game::Run()
	{
		m_pGame->Run();
	}

	void Game::Exit()
	{
		m_pGame->Exit();
	}

	Game::!Game()
	{
		Game_Delete(m_pGame);
	}

}
